﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using pos_trab_3;

namespace pos_trab_3_Testes
{
    public class CandidatoFake : Candidato
    {
        public List<string> LogDeExecucao = new List<string>();

        public override decimal CalcularNotaFinal()
        {
            LogDeExecucao.Add("CalcularNotaFinal();");
            return 0;
        }

        public decimal CalcularNotaFinalOriginal()
        {
            return base.CalcularNotaFinal();
            
        }

        public override decimal NotaFinal
        {
           set { LogDeExecucao.Add("setNotaFinal();"); }
        }
    }
}
